<!--{include manage_header}-->
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="/manage/coupon/index.php">积分管理</a></li>
    <li><a href="/manage/coupon/consume.php">已消费券</a></li>
	<li style="float:right;  font-size:22px; ">
	 <a href="javascript::" style="padding-right:30px;color:#3B95C8;">
    <!--{if $_SESSION['ali_token']}-->${mb_strimwidth($login_user['realname'],0,10)}<!--{else}-->${mb_strimwidth($login_user['username'],0,10)}<!--{/if}-->
	</a> </li>
    </ul>
</div>
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<!--<div class="dashboard" id="dashboard">
		<ul>${mcurrent_coupon('consume')}</ul>
	</div>-->
    <div id="content" class="coupons-box clear mainwide">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
				<div class="formtitle"><span>已消费{$INI['system']['couponname']}</span></div>
                    <!--<h2>{$INI['system']['couponname']}</h2>-->
					
					<ul class="filter">
						<li><form method="get">项目ID：<input type="text" class="h-input" name="tid" value="${htmlspecialchars($tid)}" >&nbsp;用户：<input type="text" class="h-input" name="uname" value="${htmlspecialchars($uname)}" >&nbsp;券编号：<input type="text" class="h-input" name="coupon" value="${htmlspecialchars($coupon)}" >&nbsp;<input type="submit" value="筛选" class="formbutton"  style="padding:1px 6px;"/></form></li>
					</ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="5" border="1" bordercolor="#89B4D6" style="width:99%" class="coupons-table">
					<tr><th width="100">编号</th><th width="500">项目</th><th width="180">用户</th><th width="80" nowrap>消费时间</th></tr>
					<!--{loop $coupons $index $one}-->
					<tr ${$index%2?'':'class="alt"'} id="order-list-id-{$one['id']}">
						<td>{$one['id']}</td>
						<td>{$one['team_id']}&nbsp;(<a class="deal-title" href="/team.php?id={$one['team_id']}" target="_blank">{$teams[$one['team_id']]['title']}</a>)</td>
						<td nowrap>{$users[$one['user_id']]['email']}<br/>{$users[$one['user_id']]['username']}</td>
						<td nowrap>${date('Y-m-d',$one['consume_time'])}<br/>${date('H:i:s',$one['consume_time'])}</td>
					</tr>
					<!--{/loop}-->
					<tr><td colspan="5">{$pagestring}</tr>
                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include manage_footer}-->
